package com.tupu.entity.dispatch;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 操作票内容中执行信息表 实体类
 *
 * @author by
 */
@Data
public class DispatchOperTicketPerformMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    //执行信息表主键id
    private String msgId;

    //厂长名称
    private String station;

    //操作内容
    @NotEmpty(message = "操作任务不能为空")
    private String operContent;

    //发令时间
    @NotEmpty(message = "发令时间不能为空")
    private String publishTime;

    //发令人
    @NotEmpty(message = "发令人不能为空")
    private String publishPeople;

    //受令时间
    @NotEmpty(message = "受令时间不能为空")
    private String receiveTime;

    //受令人
    @NotEmpty(message = "受令人不能为空")
    private String receiver;

    //执行时间

    private String performTime;
    @NotEmpty(message = "完成时间不能为空")
    // 完成时间
    private String finishTime;

    //上下移序号
    @NotNull(message = "序号不能为空")
    private String nodeNum;

    //操作票内容表id
    private String detailId;
}
